﻿using RestSharp;

namespace PLCS.Client.Service.Client
{
    public class RequestParam
    {
        public Method Method { get; set; }
        public string Route { get; set; }
        public string ContentType { get; set; } = "application/json";
        public object Parameter { get; set; }

        public RequestParam(Method method, string route, object parameter = null)
        {
            Method = method;
            Route = route;
            Parameter = parameter;
        }
    }
}